package main

import (
	"cronjob/agent/server"
	"github.com/astaxie/beego/logs"
)

func main() {
	//获取配置，修改配置
	loadconfig()
}

func loadconfig() {

	path := "/Users/haodaquan/golang/src/cronjob/actuator/config/conf.ini"
	server.InitConfig(path)
	logs.Info(server.C.TcpIp, server.ConfPath)
	server.SaveConfig("TcpIp", "10.32.33.22")
	logs.Info(server.C.TcpIp, server.ConfPath)

}
